package fun.sssdnsy.mybatis.builder;

import fun.sssdnsy.mybatis.session.Configuration;
import fun.sssdnsy.mybatis.type.TypeAliasRegistry;

/**
 * @Desc
 * @Author pengzh
 * @Since 2023-03-10
 */
public class BaseBuilder {

    protected final Configuration configuration;
    protected final TypeAliasRegistry typeAliasRegistry;

    public BaseBuilder(Configuration configuration) {
        this.configuration = configuration;
        this.typeAliasRegistry = this.configuration.getTypeAliasRegistry();
    }

    public Configuration getConfiguration() {
        return configuration;
    }

}
